package entity;

import java.io.Serializable;

import javax.inject.Named;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * Entity implementation class for Entity: BankPayMethod
 *
 */
@Named(value="bank")
@Entity
@DiscriminatorValue("B")
public class BankPayMethod extends PayMethod implements Serializable {

	private String Iban;
	private static final long serialVersionUID = 1L;

	public BankPayMethod() {
		super();
	}
	

	public BankPayMethod(String iban) {
		super();
		Iban = iban;
	}


	public String getIban() {
		return Iban;
	}

	public void setIban(String iban) {
		Iban = iban;
	}
   
}
